import BaseFlowNode from '../BaseFlowNode'
import {assignInWith} from 'lodash'
import {FlowNodeType} from "../../types/index";
import type {FlowNodePropsType,FlowNodeFormConfigType} from "../../types/index";

export default class ParallelNode extends BaseFlowNode {
    constructor( props:Partial<FlowNodePropsType>={},
    ) {
      let basePops:FlowNodePropsType={
        header: { icon: 'icon-binghangfenzhi', title: '并行路径', bgColor: 'white',color:'#718dff' },
        description: '请设置并行流程逻辑'
    }
        super(
            '并行分支节点',
            FlowNodeType.PARALLEL,
            assignInWith(basePops,props),
            {}
        )
    }
}
